﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace University.Models
{
    public class Document
    {
        public int DocumentId { get; set; }

        [Required(ErrorMessage = "Please provide document name")]
        public string Name { get; set; }

       
        public string DocumentPath { get; set; }
        public virtual Department Department { get; set; }

    }
}